#ifndef _HCC_ERROR_CODE_MID_GB32960_H_
#define _HCC_ERROR_CODE_MID_GB32960_H_

#include "ofc/ofc_types.h"
#include "hcc/hcc_error_code.h"
#include "hcc/hcc_error_code_mid.h"

#ifdef __cplusplus
extern "C" {
#endif

#define HCC_MAKE_MID_GB32960_ERROR(error_code) (int)HCC_ERROR(HCC_MAKE_MID_WARE_ERROR(kHccMidWareGb32960, error_code, HCC_ERROR_LEVEL_ERROR))


/**
 * Gb32960模块定义:
 */
typedef Int32 THccMidGb32960ErrorCodeEnum;

#define kHccMidGb32960Success	HCC_ERROR_SUCCESS	///< 成功,没有错误
#define kHccMidGb32960InitFail	HCC_MAKE_MID_GB32960_ERROR(1)	///<初始化失败
#define kHccMidGb32960ParamInvalid	HCC_MAKE_MID_GB32960_ERROR(2)	///<参数无效
#define kHccMidGb32960SendNotReady	HCC_MAKE_MID_GB32960_ERROR(3)	///<发送未就绪
#define kHccMidGb32960SendError	HCC_MAKE_MID_GB32960_ERROR(4)	///<发送错误
#define kHccMidGb32960AddListError	HCC_MAKE_MID_GB32960_ERROR(5)	///<增加到list错误
#define kHccMidGb32960MemAllocError	HCC_MAKE_MID_GB32960_ERROR(6)	///<内存分配失败
#define kHccMidGb32960MemEncodeError	HCC_MAKE_MID_GB32960_ERROR(7)	///<编码失败
#define kHccMidGb32960MemDecodeError	HCC_MAKE_MID_GB32960_ERROR(8)	///<解码失败

//旧版本适配补丁
#define kHccMidGb32960CodeSuccess kHccMidGb32960Success


#ifdef __cplusplus
}  // extern "C"
#endif

#endif // _HCC_ERROR_CODE_MID_GB32960_H_
/**
 * @
 */
